<script setup>
import { useRouter } from 'vue-router'

const router = useRouter()

function start() {
    router.push('index')
}

</script>
<template>
    <div id="outer">
        Welcome to use CB-GPT!
        <el-button @click="start" type="info" id="btn">
            开始
        </el-button>
    </div>
</template>
<style scoped>
#outer {
    margin: auto;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 3em;
    font-weight: 900;
}

#btn {
    margin-top: 1em;
    font-size: 0.5em;
    padding-top: 1em;
    padding-bottom: 1em;
    padding-left: 1em;
    padding-right: 1em;
}
</style>